# _*_coding:utf-8_*_
# Author   :luoyuan 
# Date     :2019/1/16 21:59

class People:
    #单下划线代表属性是私有的
    _star = 'earh'
    def __index__(self,id,name,age,salary):
        self.id = id
        self.name = name
        self.age =age
        self.salary = salary
    def get_id(self):
         print('私有方法，id是[%s]'%self.id)
#print(People.__dict__)
print(dir())
print(dir([]))